package com.example.operation.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.operation.system.entity.UserInfo;

import javax.servlet.http.HttpServletRequest;

public interface UserInfoService extends IService<UserInfo> {

    boolean login(UserInfo userInfo, HttpServletRequest request);

    boolean insert(UserInfo userInfo);

    boolean update(UserInfo userInfo);

    IPage<UserInfo> paging(UserInfo userInfo, int page, int limit);
}